﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<title>广告自助后台</title>
<link href="css/css.css" rel="stylesheet" type="text/css"/>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.js" type="text/javascript"></script>

</head>

<body>
<div id="tray" class="box">
    <p class="f-left box">
    <p class="f-right">帐 号: <strong><a href="#">${aduser.username }</a></strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><a href="logout" id="logout">登 出</a></strong></p>
</div>
<div id="cols">
    <div class="sliderbar">
      <div><img src="css/images/logo.png" /></div>
      <ul class="box">
        <li <c:if test="${channel=='list'}">id="submenu-active"</c:if>>
        <a href="s_applist">应用列表</a>
        </li>
        <li <c:if test="${channel=='addapp'}">id="submenu-active"</c:if>>
        <a href="s_addapp">添加应用</a>
        </li>
        <li <c:if test="${channel=='advlist'}">id="submenu-active"</c:if>>
        <a href="s_advlist">广告主列表</a>
        </li>
        <li <c:if test="${channel=='addadv'}">id="submenu-active"</c:if>>
        <a href="s_addadv">添加广告主</a>
        </li>
        <li <c:if test="${channel=='account'}">id="submenu-active"</c:if>>
        <a href="#">账户管理</a>
        </li>
        <li <c:if test="${channel=='help'}">id="submenu-active"</c:if>>
        <a href="#">帮助</a>
        </li>
      </ul>
    </div>
<div class="tab">
<div style="_clear: both; height: 0; _overflow: hidden"></div>
<!-- IE6 clear float --></div>
<div class="content">
<div class="title">
<h2>修改应用状态</h2>
</div>
<div class="list">
<div style="padding-top: 20px">

<!-- <div class="text_content"> -->
<div id="app_s2" class="text_content" style="">
<form id="update_status_form" method="post" action="s_updatestatus.do">
	<ul id="app_file" class="app_file">
		<li class="clear line2">
			应用名：${appitem.appname}
			<input type="hidden" name="packagename" value="${appitem.packagename}" />
		</li>
		<li class="clear"><span class="kaifazhe_text_01">应用状态 <sup class="red">*</sup>：</span>
		    <select id="status" name="status" >
		        <option value="online" <c:if test="${appitem.status=='online'}">selected=true"</c:if> >在线</option>
		        <option value="offline" <c:if test="${appitem.status=='offline'}">selected=true"</c:if> >下线</option>
		    </select>
		    <span id="status_tips" class="field_notice" style="padding: 0 0 0 10px; line-height: 24px;color: red"></span>
		</li>
		<li>
			<div class="field_notice" style="margin-left: 90px">
				<input type="submit" value="修改状态" />
	        </div>
		</li>
	</ul>
</form>

</div>
</div>
</div>
<div style="height: 1px; overflow: hidden">&nbsp;</div>
</div>
<div class="ct_bottom"></div>

<div id="footer" class="footer"></div>

<div class="page_msg_box">
<div id="msg" class="page_msg_cont"></div>

</div>

<!-- JS -->
<!--[if lt IE 7]>
<script src="/js/png-fix.js?ver=2012120617" type="text/javascript"></script>
<script type="text/javascript">
DD_belatedPNG.fix('.ie_png');
</script>
<![endif]-->
<script src="js/jquery-ui-1.js" type="text/javascript"></script>
<script src="js/jquery_003.js" type="text/javascript"></script>
<script src="js/jquery_002.js" type="text/javascript"></script>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/common.js" type="text/javascript"></script>
<script src="js/validform.js" type="text/javascript"></script>
</body>
</html>